

  /* 基础输入框样式，模仿Mac的简洁风格 */
select,
textarea,
p,
input[type="text"],
input[type="password"],
input[type="email"]
 {
  display: flex;
  justify-content: center; /* 水平居中 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  max-lines: 1;
  color: #222;
  background-color: #ffffff4f;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 10px 12px;
  min-width: 90%;
  box-sizing: border-box;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin: 30px;
}

select:focus-within .dropdown-list {
  display: block;
}

/* 输入框聚焦时的样式变化 */
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus {
  border-color: #5cb85c;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(92, 184, 92, 0.25);
}



.mac-window {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 70vw;
  height: 90vh;
  background-color: rgb(221, 221, 221);
  border: 1px solid #BBCFE2;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  display: flex;
  background-image: url('d:\MyVue\001\vue-project\src\assets\BackGround.png');
  flex-direction: column;
  transition: box-shadow 0.15s ease-in-out;
}

.title-bar {
    height: 32px;
    background-color: #D7EAFE;
    display: flex;
    align-items: center;
    padding: 0 16px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.title-bar h1 {
    margin: 0;
    font-size: 14px;
    color: #3A3A3A;
}

.buttons {
    display: flex;
    align-items: center;
    margin-right: -8px;
}

.button {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 0 4px;
    border-radius: 50%;
    background-color: #BBCFE2;
    cursor: pointer;
}

.button.close {
    background-color: #FF6159;
}

.button.minimize {
    background-color: #FFBD2E;
}

.button.zoom {
    background-color: #2EC4B6;
}

.content {
    flex-grow: 1;
    padding: 24px;
}


.scrollable-sidebar {
  width: 10vw;
  height: 85.8vh;
  overflow-y: auto;
  background-color: #f5f6f6;
  border-bottom-left-radius: 12px;
}

.main-sidebar {
    width: 60vw;
    height: 85.8vh;
    overflow-y: auto;
    background-color: #ffffff91;
    border-bottom-right-radius: 12px;

    
    display: grid;
    justify-content: center; /* 水平居中 */
}

.scrollable-sidebar ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.scrollable-sidebar li {
  padding: 10px;
  border-bottom: 1px solid #f0f0f0; /* 分隔线，可选 */
}

.container {
  display: grid; /* 启用Grid布局 */
  grid-template-columns: 1fr 1fr; /* 将容器分为两个相等的列 */
}

/* 可选：添加间距或样式 */
.left-half {
  border-right: 1px solid #ccc; /* 添加右侧边框以便区分 */
}


button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    background-color: #007bff; /* Mac风格的蓝色 */
    border: none;
    border-radius: 4px; /* 圆角效果 */
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加轻微阴影效果 */
    transition: all 0.15s ease; /* 平滑的过渡效果 */
    margin: 30px;
    line-height: 1.5;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* 按钮悬停效果 */
button:hover {
  background-color: #0056b3; /* 更深的蓝色 */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* 更明显的阴影 */
}

/* 输入框悬停效果 */
textarea:hover,
select:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="email"]:hover {
  border-color: rgba(0, 0, 0, 0.25);
}

/* 侧边栏项悬停效果 */
.scrollable-sidebar li:hover {
  background-color: #e0e0e0; /* 改变背景颜色 */
}

/* 窗口拖动效果 */
.mac-window {
  position: relative;
  cursor: move;
}

.mac-window.dragging {
  opacity: 0.8;
  cursor: grabbing;
}



.title-bar {
  height: 32px;
  background-color: #D7EAFE;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}